home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 3863 / 3863.xpi / chrome / imacros.jar / content / rec.xul < prev    next >
Extensible Markup Language  |  2010-01-24  |  10KB  |  277 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <?xml-stylesheet href="chrome://imacros/skin/imacros.css" type="text/css"?>
  4. <?xml-stylesheet href="chrome://imacros/skin/sidebar.css" type="text/css"?>
  5.  
  6. <!DOCTYPE window SYSTEM "chrome://imacros/locale/labels.dtd">
  7.  
  8. <window id="Recorder" title="&imacros.window.recorder;" 
  9.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  10.  
  11.   <script type="application/x-javascript"
  12.           src="chrome://imacros/content/version.js" />
  13.   <script type="application/x-javascript"
  14.           src="chrome://imacros/content/utils.js" />
  15.   <!-- TreeView control code -->
  16.   <script type="application/x-javascript"
  17.           src="chrome://imacros/content/TreeView.js" />
  18.   
  19.   <!-- Popup menu -->
  20.   <popup id="my_popup" onpopupshowing="MPopup_onShowing(event);">
  21.     <menuitem id="addbookmark" label="&imacros.menuitem.addbookmark;"
  22.           oncommand="MPopup_AddBookmark('0');"
  23.               flex="1" />
  24.     <menuitem id="editmacro" label="&imacros.button.edit.macro;"
  25.           oncommand="MPopup_EditMacro();"
  26.               flex="1" />
  27.     <menuitem id="newfolder"
  28.               label="&imacros.menuitem.new.folder;"
  29.           oncommand="MPopup_CreateFolder();"
  30.               flex="1" />
  31.     <menuitem id="renameitem"
  32.               label="&imacros.menuitem.rename;"
  33.           oncommand="MPopup_renameItem();"
  34.               flex="1" />
  35.     <menuitem id="remove"
  36.               label="&imacros.menuitem.remove;"
  37.           oncommand="MPopup_removeItem();"
  38.               flex="1" />    
  39.   </popup>
  40.  
  41.   <vbox id="boxstat" height="32">
  42.     <label id="replaystat" value="" flex="1"/>
  43.     <label id="delaystat" value="" flex="1"/>
  44.   </vbox>
  45.   <vbox id="boxlistbox" collapsed="true" flex="1">
  46.     <listbox id="listbox" flex="1"/>
  47.   </vbox>
  48.   
  49.   <tree id="treeview"
  50.     seltype="single"
  51.     hidecolumnpicker="true"
  52.     flex="1"
  53.     onselect="MTree_onSelect();"
  54.     ondblclick="MTree_onDblClick(event);"
  55.     >
  56.     <treecols>
  57.       <treecol id="ims-mtree-col"
  58.            hideheader="true"
  59.            flex="1"
  60.            primary="true"
  61.            />
  62.     </treecols>
  63.     <treechildren flex="1"
  64.           contextmenu="my_popup"
  65.           >
  66.       <treeitem container="true"
  67.         open="true">
  68.     <treerow>
  69.           <treecell id="ims-mtree-root"
  70.                        label="&imacros.treecell.favorites;" />
  71.     </treerow>
  72.     <treechildren flex="1" id="favtree"/>
  73.       </treeitem>
  74.     </treechildren>
  75.     
  76.   </tree>
  77.  
  78.   <!--Rename option    -->
  79.   <hbox>
  80.     <textbox id="editname"
  81.              onkeypress="onEditKeypress(event)"
  82.              flex="1" collapsed="true" />
  83.     <button id="im-rename-button" label="&imacros.button.rename;"
  84.         collapsed="true"
  85.         oncommand="MTree_renameItem();"  />
  86.   </hbox>
  87.   
  88.   <!--Main tabs    -->
  89.   <hbox id="mainpanel">
  90.     <spacer flex="1"/>
  91.     <vbox width="150px">
  92.       <tabbox id="im-tabbox">
  93.     <tabs id="im-tabs" >
  94.       <tab id="im-play-tab" label="&imacros.tab.play;" flex="1"/>
  95.       <tab id="im-record-tab" label="&imacros.tab.rec;" flex="1"/>
  96.       <tab id="im-edit-tab" label="&imacros.tab.edit;" flex="1"/>
  97.     </tabs>
  98.     <tabpanels id="im-tabpanels" flex="1">
  99.  
  100.       <!--Play panel-->
  101.       <tabpanel id="im-play-panel" orient="vertical">
  102.             <stack >
  103.               <box id="im-play-button-decoration"/>
  104.           <button id="im-play-button"
  105.                   label="&imacros.button.play;"
  106.                       disabled="true"
  107.                       oncommand="mainwindow.playunlooped();" />
  108.             </stack>
  109.         <button id="im-pause-button"
  110.                     label="&imacros.button.pause;"
  111.                     oncommand="mainwindow.pause();"
  112.                     disabled="true"/>
  113.         <button id="im-stopplay-button"
  114.                     label="&imacros.button.stop;"
  115.                     oncommand="mainwindow.stop();"
  116.                     disabled="true"/>
  117.             <separator class="thin"/>
  118.             <vbox>
  119.               <label value="&imacros.label.repeat.macro;"/>
  120.               <grid flex="1">
  121.                 <columns>
  122.                   <column flex="1"/>
  123.                   <column flex="1"/>
  124.                 </columns>
  125.                 <rows>
  126.                   <row>
  127.                     <label value="&imacros.label.current;"/>
  128.                     <label value="&imacros.label.max;"/>
  129.                   </row>
  130.                   <row>
  131.                     <textbox id="im-curloop-textbox"
  132.                              value="1" disabled="true"/>
  133.                     <textbox id="im-loopval-textbox" value="3"
  134.                              maxlength="5"
  135.                              oninput="mainwindow.im_panel.onLoopValueInput();"
  136.                              onchange="mainwindow.im_panel.onLoopValueChange();"
  137.                              />
  138.                   </row>
  139.                 </rows>
  140.               </grid>
  141.               <button id="im-playloop-button"
  142.                       label="&imacros.button.play.loop;"
  143.                       oncommand="mainwindow.playloop();"
  144.                       disabled="true"/>
  145.             </vbox>
  146.             <spacer height="10px"/>
  147.             <deck id="logo-message-deck" selectedIndex="1">
  148.               <vbox id="message-box-container" flex="1">
  149.                 <box id="imacros-messages" flex="1">
  150.                   <textbox id="imacros-message-box" flex="1"
  151.                              value="&imacros.message.error;"
  152.                              class="plain"
  153.                              readonly="true"
  154.                              msgtype="message"
  155.                              multiline="true" />
  156.                 </box>
  157.                 <hbox id="message-box-buttons-container">
  158.                   <toolbarbutton id="message-box-button-edit"
  159.                                  oncommand="mainwindow.im_panel.mboxEdit();"/>
  160.                   <toolbarbutton id="message-box-button-help"
  161.                                  oncommand="mainwindow.im_panel.mboxHelp()"/>
  162.                   <toolbarbutton id="message-box-button-close"
  163.                                  oncommand="mainwindow.im_panel.mboxClose()"/>
  164.                 </hbox>
  165.               </vbox>
  166.               <vbox id="mainlogo-container">
  167.                 <hbox pack="center">
  168.               <image id="mainlogo"/>
  169.             </hbox>
  170.                 <hbox pack="center" id="imacros-si-info" collapsed="true">
  171.                   <label id="imacros-si-text"
  172.                          class="text-link"
  173.                          value=""
  174.                          href=""/>
  175.                 </hbox>
  176.               </vbox>
  177.         </deck>
  178.             
  179.       </tabpanel>
  180.  
  181.       <!--Record panel -->
  182.       <tabpanel id="im-record-panel" orient="vertical">
  183.             <stack>
  184.               <box id="im-record-button-decoration"/>
  185.           <button id="im-record-button"
  186.                       label="&imacros.button.record;"
  187.                       oncommand="mainwindow.rec();" />
  188.             </stack>
  189.         <button id="im-save-button" label="&imacros.button.save;"
  190.                     oncommand="mainwindow.save();"
  191.                     disabled="true"/>
  192.         <button id="im-load-button" label="&imacros.button.load;"
  193.                     oncommand="mainwindow.load();"/>
  194.         <button id="im-stoprecord-button" label="&imacros.button.stop;"
  195.                     oncommand="mainwindow.stop();"
  196.                     disabled="true"/>
  197.         <spacer flex="1" />
  198.         <vbox>
  199.           <hbox>
  200.         <button id="im-clickpanel-button" flex="1"
  201.                         label="&imacros.button.options.click;"
  202.                         oncommand="mainwindow.openClickPanel();" />
  203.         <vbox align="center" pack="center">
  204.           <label id="im-clickmode-label" value="Auto"/>
  205.         </vbox>
  206.           </hbox>
  207.           <button id="im-saveas-button" label="&imacros.button.saveas;"
  208.                       oncommand="mainwindow.savePageAs();"/>
  209.               <button id="im-screenshot-button" label="Take Screenshot"
  210.                       oncommand="mainwindow.takeScreenshot();"/>
  211.           <button id="im-cleancache-button"
  212.                       label="&imacros.button.del.cache.c1;"
  213.                       oncommand="mainwindow.clearCookies();"/>
  214.               <button id="im-waitreplay-button"
  215.                       label="&imacros.button.wait.during0;"
  216.                       oncommand="mainwindow.addWaitTag();"
  217.                       disabled="true"/>
  218.         </vbox>
  219.       </tabpanel>
  220.       <!-- Edit and options panel -->
  221.       <tabpanel id="im-edit-panel" orient="vertical">
  222.         <button id="im-edit-button"
  223.                     label="&imacros.button.edit.macro;"
  224.                     disabled="true"
  225.                     oncommand="mainwindow.steps();"/>
  226.         <button id="im-share-button"
  227.                     label="&imacros.button.share.macro;"
  228.                     disabled="true"
  229.                     oncommand="mainwindow.share();"/>
  230.         <button id="im-refresh-button" crop="end"
  231.                     label="&imacros.button.refresh.mac2;"
  232.                     oncommand="mainwindow.refreshTree();"/>
  233.         <!--spacer height="5"/> -->
  234.         <button id="im-preferences-button"
  235.                     label="&imacros.button.options;"
  236.                     oncommand="mainwindow.options();"/>
  237.         <button id="im-help-button" label="&imacros.button.help;"
  238.                     oncommand="mainwindow.redirect3();"/>
  239.         <spacer flex="1"/>
  240.         <vbox>
  241.           <hbox>
  242.         <spacer flex="1"/>
  243.         <label id="for_3" align="center"
  244.                        value="&imacros.label.imacros.for.3;"/>
  245.         <spacer flex="1"/>
  246.           </hbox>
  247.           <hbox>
  248.         <spacer flex="1"/>
  249.         <image id="mainlogo_1"/>
  250.         <spacer flex="1"/>
  251.           </hbox>
  252.           <hbox>
  253.         <spacer flex="1"/>
  254.         <label align="center"
  255.                value="&imacros.label.home.page;"
  256.                        class="text-link"
  257.                        href="http://www.iopus.com/imacros/firefox/?ref=fxhome"
  258.                        />
  259.         <spacer flex="1"/>
  260.           </hbox>
  261.           <hbox>
  262.         <spacer flex="1"/>
  263.         <label align="center"
  264.                        value="&imacros.label.about.iopus;"
  265.                        class="text-link"
  266.                        href="http://forum.iopus.com/viewforum.php?f=11"/>
  267.         <spacer flex="1"/>
  268.           </hbox>
  269.         </vbox>
  270.       </tabpanel>
  271.     </tabpanels>
  272.       </tabbox>
  273.     </vbox>
  274.     <spacer flex="1"/>
  275.   </hbox>
  276. </window>
  277.